package bomb.utils;

import bomb.logic.Lugar;

public abstract class CompleteTest {
    static int k;
    static int count;
    public static boolean test(Lugar[] places, int numero){
        count = 0;
        for(k=0; k<places.length; k++){
            if(places[k].getDone() == true){
                count++;
            }
        }
        if(count==numero){
            return true; 
        }
        else{
            return false; 
        }
    }
}